Get rid of hardcoded pathes for stubdom and hotplug scripts
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 23 Jun 2009 16:25:51 +0000 (17:25 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 23 Jun 2009 16:25:51 +0000 (17:25 +0100)
commita2b4af7d77d66eeb6f3a82f3056889ff1d453bd0
tree7e378a41343f4ef79acdbd5ee9427bfe6e3616e1
parent2b8ba91b50c9536daac1ee64f4ef6737d03d349d
Get rid of hardcoded pathes for stubdom and hotplug scripts

- Have the buid system generate a file which exports the install paths
   for the hotplug scripts and stubdom / stubdom-dm
- Move file generation code from tools/python/Makefile into a gmake
   macro
  in Config.mk to avoid maintenance of three duplicates each with its
   own
  tweaks and bugs
- Export gmake variables into ioemu as shell variables
  for upcoming ioemu patches
- Do above as a gmake macro to avoid maintenance of several duplicates
- Adjust hotplug scripts to find the right xen binaries from the
  install directory
- Adjust stubdom-dm to use the install directories

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
18 files changed:
Config.mk
stubdom/Makefile
stubdom/stubdom-dm
tools/Makefile
tools/hotplug/Linux/block
tools/hotplug/Linux/network-bridge
tools/hotplug/Linux/network-nat
tools/hotplug/Linux/network-route
tools/hotplug/Linux/vif-bridge
tools/hotplug/Linux/vif-nat
tools/hotplug/Linux/vif-route
tools/hotplug/Linux/xen-hotplug-cleanup
tools/hotplug/Linux/xen-hotplug-common.sh
tools/hotplug/NetBSD/block-nbsd
tools/hotplug/NetBSD/vif-bridge-nbsd
tools/hotplug/NetBSD/vif-ip-nbsd
tools/hotplug/common/Makefile
tools/python/Makefile